#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    QPixmap pix(":/th.jpg");
    pix = pix.scaled(100,100);
    //QCursor cursor(pix);
    ui->pushButton->setCursor(QCursor(pix,10,10));
}

Widget::~Widget()
{
    delete ui;
}

